package com.ctrip.demo.design.bridge;

/**
 * @author xs.wu
 * 桥接模式测试
 */
public class MainTest {

    public static void main(String[] args) {

        Phone phone = new Phone();
        phone.setSale(new OfflineSale("线下", 1111));
        System.out.println(phone.getPhone());

    }

}
